function resizeDataGrid(divId) {
	var el = document.getElementById(divId);
	if (el != null) {
	var clientHeight = self.innerHeight;
	var clientWidth = self.innerWidth;
	if (clientHeight == null) {
		clientHeight =(document.compatMode=="CSS1Compat")?document.documentElement.clientHeight : document.body.clientHeight;
		clientWidth = document.body.clientWidth;
		}
	el.style.width = (clientWidth - 40) + 'px';
	el.style.height = (clientHeight - 188) + 'px';
	}
}